package electricity.mapper;

import electricity.domain.HighRiskDevice;
import electricity.vo.HighRiskVo;

import java.util.List;

/**
* @author haoyi
* @description 针对表【high_risk_device(高风险设备表（告警次数超过2次的设备）)】的数据库操作Mapper
* @createDate 2025-07-15 09:58:26
* @Entity electricity.domain.HighRiskDevice
*/
public interface HighRiskDeviceMapper {

    int deleteByPrimaryKey(Long id);

    int insert(HighRiskDevice record);

    int insertSelective(HighRiskDevice record);

    HighRiskDevice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HighRiskDevice record);

    int updateByPrimaryKey(HighRiskDevice record);

    List<HighRiskVo> getHighRiskDevices(Integer deviceId);
}
